#include "ukui-poetry-plugin.h"
#include <QQmlEngine>
#include <QQmlContext>
#include "poetry.h"

void UkuiPoetryPlugin::registerTypes(const char *uri)
{
    Q_ASSERT(QString(uri) == QLatin1String("org.ukui.poetry"));
    qmlRegisterModule(uri, 1, 0);
    qmlRegisterType<Poetry>(uri, 1, 0, "Poetry");
    Q_INIT_RESOURCE(res);
}